<!DOCTYPE html>
<!--suppress ALL-->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>玩具出租系统</title>
    <link rel="stylesheet" href="css/index.css">
</head>
<body>
    <div class="title">
        <h1>玩具出租管理系统</h1>
        <hr style="width: auto"color="#a3cafc"></hr>
    </div>
    <!--基础数据处理-->
    <div id="main2">
        <table>
            <tr>
                <td colspan="2">玩具进货录入</td>
            </tr>
            <tr>
                <td>玩具编号</td>
                <td>
                    <input type="text" id="number">
                </td>
            </tr>
            <tr>
                <td>玩具价格</td>
                <td>
                    <input type="text" id="price">
                </td>
            </tr>
            <tr>
                <td>玩具数量</td>
                <td>
                    <input type="text" id="toyCount">
                </td>
            </tr>
            <tr>
                <td>附件数量</td>
                <td>
                    <input type="text" id="count">
                </td>
            </tr>
            <tr>
                <td>损坏情况</td>
                <td>
                    <input type="text" id="failure">
                </td>
            </tr>
            <tr>
                <td>报废情况</td>
                <td>
                    <input type="text" id="isscrap">
                </td>
            </tr>

            <tr>
                <td colspan="2">会员信息录入</td>
            </tr>
            <tr>
                <td>会员号</td>
                <td>
                    <input type="text" id="userid">
                </td>
            </tr>
            <tr>
                <td>姓名</td>
                <td>
                    <input type="text" id="name">
                </td>
            </tr>
            <tr>
                <td>地址</td>
                <td>
                    <input type="text" id="address">
                </td>
            </tr>
            <tr>
                <td>联系电话</td>
                <td>
                    <input type="text" id="phone">
                </td>
            </tr>
            <tr>
                <td>会员点数</td>
                <td>
                    <input type="text" id="points">
                </td>
            </tr>
            <tr>
                <td>押金</td>
                <td>
                    <input type="text" id="cash">
                </td>
            </tr>
            <tr>
                <td>
                    <button onclick="toyData()">toySave</button>
                </td>
                <td>
                    <button onclick="userData()">userSave</button>
                </td>
            </tr>
            <tr>
                <td>
                    <button onclick="window.location.href='queryAllToy'">玩具盘点</button>
                </td>
                <td>
                    <button onclick="window.location.href='queryAllUser'">会员查询</button>
                </td>
            </tr>
            <tr>
                <td colspan="2">玩具出租/归还</td>
            </tr>
            <tr>
                <td>玩具编号</td>
                <td>
                    <input type="text" id="toyId">
                </td>
            </tr>
            <tr>
                <td>会员编号</td>
                <td>
                    <input type="text" id="userId">
                </td>
            </tr>
            <tr>
                <td>
                    <button onclick="rentToy()">出租</button>
                </td>
                <td>
                    <button onclick="returnToy()">归还</button>
                </td>
            </tr>
        </table>
    </div>
<!--    <img src="./images/1.png" style="top: 25%"></img>-->
<!--    <img src="./images/2.png" style="top: 50%"></img>-->
<!--    <img src="./images/3.png" style="top: 80%"></img>-->
<!--echarts图表-->
    <div id="line1"></div>
    <div id="line2"></div>

</body>
<script src="js/jquery-3.1.0.min.js"></script>
<script src="js/echarts5.2.1.min.js"></script>
<script src="js/axios.min.js"></script>
<script src="js/pageHelper.js"></script>
<script src="js/index.js"></script>
</html>


